﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ThreeDI.UI.Abstraction;
namespace ThreeDI.UI.Meshs
{
   public class IconMesh:Mesh
    {
         #region variables

       // private const string path=@".\Assets\Tiger\tiger.x";  
       string path;
        float _X;
         float _Y;
         float _Z;
         float _rotX;
        float _rotY;
        float _rotZ; 
        float _sclVal;
        #endregion
        public IconMesh(string Path, Application application , float x , float y , float z , float rotX , float rotY , float rotZ , float sclVal ): base(Path, application)
        {
            path = Path;
            _X=x;
            _Y=y;
            _Z=z;
            _rotX=rotX;
            _rotY=rotY;
            _rotZ=rotZ;
            _sclVal=sclVal;
        }

        public override void Load()
        {
            base.Load();
            Rotation(_rotX, _rotY, _rotZ);
            Scaling(_sclVal, _sclVal, _sclVal);
            Translation(_X, _Y, _Z);
        }
        
        
        public override void Render()
        {

            //Rotation(_rotX, _rotY, _rotZ);
            //Scaling(_sclVal, _sclVal, _sclVal);
            //Translation(_X, _Y, _Z);
            base.Render();
        }
    }
    }

